package application.utils;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public final class Loader{
	public static BufferedImage loadImage(String path){
		BufferedImage bufferedImage = null;
		try{
			bufferedImage = ImageIO.read(new File(path));
		}catch(IOException e){
			e.printStackTrace();
		}
		return bufferedImage;
	}
}
